$('.cover').hide();
function save(){
    var type = $('#type').val();
    var description = $('#description').val();
    var param = {"type":type, "description":description};
    $('.cover').show();
    $.ajax({
        type:"post",
        url:"/appeal/save",
        data:param,
        dataType:"json",
        success:function(res){
            $('.cover').hide();
            if(res.status == "SUCCESS"){
                alert("提交成功!")
            }else{
                alert(res.message);
            }
        },
        error:function(e){
            isLogin(e.responseText);
        }
    });
}